home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com
- Newsgroups: comp.lang.c++
- Subject: Re: What is wrong with this code? (BC45)
- Date: 27 Jan 1996 16:55:55 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4edler$3c6@news1.usa.pipeline.com>
- NNTP-Posting-Host: pipe11.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Jan 27, 1996 13:08:15 in article <What is wrong with this code? (BC45)>,
- 'vincer@iaccess.za (Vince Risi)' wrote:
-
-
- >Why would I get an illegal initialization from this code?
- >
- >typedef char * pchar;
- >pchar Fred = "This is a default value";
- >pchar Mark = Fred; // <------ ????
- >
- >Is this a BC45 bug?
- >
-
- This compiles just fine with my BC4.++52.
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-